package com.sunday.common.trace.skywalking.study.dubbo.provider;

import com.sunday.common.core.remoting.base.page.PageResultDTO;
import com.sunday.common.core.remoting.base.response.Response;
import com.sunday.common.trace.skywalking.study.dubbo.dto.PageUserRoleReqDTO;
import com.sunday.common.trace.skywalking.study.dubbo.dto.PageUserRoleResDTO;
import com.sunday.common.trace.skywalking.study.dubbo.dto.SaveUserRoleReqDTO;

public interface UserRoleProvider {

    Response save(SaveUserRoleReqDTO saveUserRoleReqDTO);

    Response<PageResultDTO<PageUserRoleResDTO>> page(PageUserRoleReqDTO pageUserRoleReqDTO);

    Response thread();

    Response timeout(Long seconds) throws InterruptedException;

    Response trace(String message);
}